package com.example.lamdademo.lamda_test;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class T1 {
    @SafeVarargs
    public static <T> ArrayList<T> af(T... a) {
        System.out.println(Arrays.toString(a));
        return new ArrayList<T>();
    }

    public <T> T a2() {
        return null;
    }

    public static void main(String[] args) {
        List<String> strings = Arrays.asList("a", "b", "c");
        ArrayList<String> af = T1.af("a", "b");
        System.out.println(af);
    }
}
